package com.sws.mapping;

import com.sws.domain.User;
import com.sws.model.UserModel;
import com.sws.model.bean.C2SUserBean;
import com.sws.model.bean.S2CUserBean;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    S2CUserBean login(C2SUserBean record);
    
    void uploadUser(UserModel model);
    
    void updateUser(UserModel model);
}